home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group97b.txt
/
000129_icon-group-sender _Mon Dec 1 09:25:31 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.7/8.8.7) with SMTP id JAA06576
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Mon, 1 Dec 1997 09:25:30 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA00728; Mon, 1 Dec 1997 09:25:30 -0700
Date: Tue, 25 Nov 1997 19:56:01 -0600
Message-Id: <199711260156.TAA13665@segfault.cs.utsa.edu>
From: Clinton Jeffery <jeffery@segfault.cs.utsa.edu>
To: kshaw@plight.lbin.com
Cc: icon-group@optima.CS.Arizona.EDU
In-Reply-To: <52oh38lhwo.fsf@plight.lbin.com> (message from kendall shaw on 25
Nov 1997 14:37:11 -0800)
Subject: Re: wicont and stdin
Reply-To: jeffery@cs.utsa.edu
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
> I downloaded windows icon and proceeded to try out a program which
> processes stdin. I haven't figure out how to do this though, because
> when I use read() it pops up a window to read from the keyboard, rather
> than reading from stdin. So, I can't pipe files into it. Is there a
> way around this?
You want to pipe, you gotta use a real operating system, like UNIX.
Under NT and Win95, you can use the NT "console" binaries available
at ftp://ringer.cs.utsa.edu/pub/icon/nt/console which don't pop up
a window, don't have graphics, and don't run under Windows 3.1.
If you need graphics, realize that Win32 doesn't let graphics applications
read stdio: they have no standard input. If Windows Icon sees a "<" or ">"
as a command-line argument, it performs file redirection for you, but code
to support this had to be added in by hand, and the behavior of redirection
was inconsistent across Windows platforms.
By the way, the next release of Windows Icon will include the console mode
binaries and the graphics binaries in a single distribution, and include a
standard Windows installation program, which should simplify the task of
obtaining the software and running programs.
Clint Jeffery, jeffery@cs.utsa.edu
Division of Computer Science, The University of Texas at San Antonio
Research http://www.cs.utsa.edu/research/plss.html